import {http} from "../utils/index"
import type { VideoPlaybackAuthorizationType } from "./type"
// 1、阿里云视频播放授权  /api/vod/video/getPlayURL/{videoSourceId}
export const reqVideoPlaybackAuthorization = (videoSourceId:string) => {
    return http.get<VideoPlaybackAuthorizationType>(`/api/vod/video/getPlayURL/${videoSourceId}`)
}